<div class="tabswrapper">
	<ul class="tabs">
		
		{if $userpermissions.admin.add}
		<li class="projects">
			<a {if $projecttab == "active" }class="active"{/if} href="admin.php?action=projects">
				<span>{#projectadministration#}</span>
			</a>
		</li>
		{/if}
		
		{if $userpermissions.admin.add || $userpermissions.companies.view}
		<li class="companies">
			<a {if $companytab == "active" }class="active"{/if} href="admin.php?action=companies">
				<span>{#companyadministration#}</span>
			</a>
		</li>
		{/if}
		
		{if $userpermissions.admin.add || $userpermissions.users.view}
		<li class="user"><a {if $usertab == "active" }class="active"{/if} href="admin.php?action=users"><span>{#useradministration#}</span></a></li>
		{/if}
		
		{if $userpermissions.admin.add}
		<li class="system-settings"><a {if $settingstab == "active" }class="active"{/if} href="admin.php?action=system"><span>{#systemadministration#}</span></a></li>
		{/if}
		
	</ul>
</div>